package com.qxbb.report.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qxbb.report.dao.NewsMapper;
import com.qxbb.report.pojo.News;
import com.qxbb.report.service.NewsService;
import com.qxbb.report.vo.NewsVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @author: pebble
 * @data 2023/10/19 10:36
 */
@Service
public class NewsServiceImpl extends ServiceImpl<NewsMapper, News> implements NewsService {

    @Autowired
    private NewsMapper newsMapper;

    @Override
    public List<NewsVO> selectNewsList() {
        return newsMapper.selectNewsList();
    }
}
